/*基础设置*/
.container {
    width: 1190px;
    margin: 0 auto;
}

/*顶部导航条*/
.topbar {
    height: 30px;
    background-color: #d5d3d1;
}

/*左侧的欢迎*/
.welcome {
    color: #666;
    line-height: 30px;
    height: 30px;
    /*font-size: 0;用处是：去除 请 和 登录 中间的间距,只不过要在后面的元素重新设置字体大小*/
    font-size: 0;
}

.welcome span:nth-of-type(1) {
    margin-right: 16px;
}

.login {
    border-right: #666666 solid 1px;
    padding-right: 10px;
    margin-right: 5px;
}

.register {
    margin-left: 5px;
}

.welcome span, .welcome a {
    font-size: 12px;
}

/*右侧的导航区*/
.topbar-nav .list li {
    float: left;
    height: 30px;
    line-height: 30px;
}

.topbar-nav .list li a {
    border-right: #666666 solid 1px;
    padding-right: 10px;
    margin-right: 19px;
}

.topbar-nav .list li:last-of-type a {
    border: none;
    padding-right: 0;
    margin-right: 0;
}

/*header部分*/
.header {
    /*background-color: antiquewhite;*/
}

.search {
    height: 70px;
    width: 588px;
    font-size: 0;
}

/*搜索框*/
.header .search input:first-child {
    width: 508px;
    height: 34px;
    vertical-align: top;
    border: #DD302D solid 1px;
}

/*搜索按钮*/
.header .search input:nth-of-type(2) {
    width: 80px;
    height: 34px;
    background-color: #DD302D;
    background-image: url("../Images/serch_icon.png");
    background-repeat: no-repeat;
    background-position: 30px 6px;
    cursor: pointer;
}

/*整个表单离父亲元素50%的top*/
.header .search form {
    position: relative;
    top: 50%;
}

/*主导航*/
.main_nav .all_types {
    width: 190px;
    height: 48px;
    color: white;
    background-color: red;
    font-size: 16px;
    line-height: 48px;
    text-align: center;
}

.main_nav .main_nav_list {
    width: auto;
    height: 48px;
}

.main_nav .main_nav_list li {
    line-height: 48px;
    float: left;
}

.main_nav .main_nav_list li a {
    margin: 0 10px;
    font-size: 16px;
}

hr {
    border-top: red 1px solid;
}

/*主体内容*/
.main_content {
    margin-top: 10px;
}

/*主题内容左侧的导航*/
.main_content .slide_nav {
    width: 190px;
    background-color: #d5d3d1;
    padding-bottom: 10px;
    position: relative;
}

.main_content .slide_nav li a {
    margin-left: 10px;
    line-height: 28px;
    font-size: 14px;
}

.main_content .slide_nav li:hover {
    background-color: red;
}

.main_content .slide_nav li:hover > a {
    color: white;
}

.slide_nav .second_nav {
    width: 700px;
    height: 458px;
    background-color: #d5d3d1;
    display: none;
    position: absolute;
    top: 0;
    left: 190px;
}

.main_content .slide_nav li:hover .second_nav {
    display: block;
}

.slide_nav .second_nav dl {
    margin: 10px;
}

.slide_nav .second_nav dl dd > a {
    border-left: #333333 solid 1px;
    padding-left: 10px;
}

.slide_nav .second_nav dl > dt {
    width: 70px;
    color: #333333;
    font-weight: bold;
    margin-right: 10px;
}

.main_img {
    margin: 0 10px;
}

/*右边的其他新闻*/
.main_content .main_nav_other {
    width: 290px;
    height: 458px;
    /*background-color: #d5d3d1;*/
}

/*其他新闻上面的特惠*/
.main_content .nav_other_top {
    width: 268px;
    height: 156px;
    padding: 10px;
    border: gray 1px solid;
}

.main_content .nav_other_top span {
    font-size: 14px;
}

.main_content .main_nav_other hr {
    border-top: #666666 1px solid;
}

.main_content .main_nav_other ul a {
    line-height: 30px;
}

/*其他新闻下面的小程序*/
.main_nav_other .nav_other_bottom ul li {
    height: 85px;
    text-align: center;
}

.main_nav_other .nav_other_bottom ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main_content .main_nav_other .nav_other_bottom li{
    margin: 10px 0 0 10px;
    font-size: 10px;

}

/*秒杀专场*/
.seckill {
    margin-top: 10px;
    margin-bottom: 50px;
}

.seckill img {
    margin-right: 10px;
    cursor: pointer;
}

.seckill img:last-child {
    margin: 0;
}

/*家用电器*/
.home_appliances_nav {
    height: 30px;
    /*background-color: #999999;*/
    line-height: 30px;
}

.home_appliances_nav > span {
    font-size: 20px;
}

/*家用电器右边的导航栏*/
.home_appliances_nav .right_nav > li a {
    border-left: solid 1px #666666;
    padding: 0 10px;
    font-size: 14px;
}

.home_appliances_nav .right_nav > li:last-child a {
    padding-right: 0;
}

.home_appliances .home_appliances_main {
    margin-top: 5px;
    border-top: red 2px solid;
}

.home_appliances_main > div {
    width: 206px;
    height: 432px;
}

.home_appliances_main .items_1 {
    width: 230px;
    height: 432px;
}

.home_appliances_main .items_2 {
    width: 340px;
    height: 432px;
}

.home_appliances_main .items_1 ul {
    margin: 10px 0 29px 15px;
}

.home_appliances_main .items_1 .list_1 li {
    width: 90px;
    height: 26px;
    text-align: center;
    margin: 14px 0;
    font-size: 16px;
    border-bottom: #666666 1px solid;
}

.home_appliances_main .items_1 ul:last-child {
    margin-left: 10px;
}

.home_appliances_main .items_3 img {
    border-bottom: 1px #E2E2E2 solid;
}

.home_appliances_main .items_4 {
    border-left: #E2E2E2 1px solid;
    border-right: #E2E2E2 1px solid;
}

.home_appliances_main .items_1 {
    background-color: #F4F4F4;
}

.home_appliances_main .items_1 img {
    margin: 0 auto;
}

.home_appliances_main img {
    cursor: pointer;
}

/*footer*/
.footer {
    background-color: #666666;
}

.footer .list ul {
    margin: 20px 0;
    width: 198px;
}

.footer .list a {
    color: white;
    font-size: 14px;
}

.footer .list li {
    height: 30px;
}

.footer .list li a:hover {
    color: black;
    background-color: white;
}

/*分割线*/
.footer .divider {
    border: #333333 1px solid;
}

/*底部的联系方式*/
.footer ul {
    display: inline-block;
    margin-top: 80px;

}

.footer .container {
    text-align: center;
}

.footer .bottom_nav li a {
    padding: 0 20px;
    color: white;
    text-indent: 2em;
    border-left: 1px solid #999999;
}

.footer .bottom_nav li a:hover {
    color: black;
    background-color: white;
}

.footer .bottom_nav li:first-child a {
    border: none;
}

.footer span {
    margin-top: 20px;
    padding-bottom: 100px;
    display: block;
    font-weight: bold;
}
